package com.tw.trips.repository;

import org.neo4j.helpers.collection.ClosableIterable;
import org.springframework.data.neo4j.repository.GraphRepository;
import org.springframework.data.neo4j.repository.RelationshipOperationsRepository;

import com.tw.trips.domain.Location;
import com.tw.trips.domain.Update;

public interface UpdateRepository extends GraphRepository<Update>,
		RelationshipOperationsRepository<Update> {
	ClosableIterable<Update> findAllByForLocation(Location location);
}
